package com.oe.rpc.spring;

import com.oe.rpc.context.RpcContext;
import com.oe.rpc.core.config.ProtocolConfig;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.InitializingBean;

public class LdmProtocolBean extends ProtocolConfig  implements InitializingBean {

    @Override
    public void afterPropertiesSet() throws Exception {
        RpcContext.getInstance().initProtocolConfig(serialization,port);
    }
}
